home *** CD-ROM | disk | FTP | other *** search
-
- #####################################################################
- #####################################################################
- ## ##
- ## ROOT BUTTON BAR CREATION ##
- ## ##
- #####################################################################
- #####################################################################
-
- dwScript Generic__RootButtonBarView {
- if {[dwGet State__Frames] == 1} {
- dwProcessTemplate Frames__RootButtonBarView
- } else {
- dwProcessTemplate NoFrames__RootButtonBarView
- }
- }
-
- dwTemplate Frames__RootButtonBarView {
- <HTML>
- <HEAD>
- <BASE HREF="$[dwGet BaseUrl]@Generic__RootButtonBarView">
- </HEAD>
- <BODY BGCOLOR=#C0C0C0>
- <TABLE WIDTH="100%" HEIGHT=42 CELLPADDING=0 CELLSPACING=0>
- <TR ALIGN=left VALIGN=center>
- <TD>
- <TABLE NOWRAP CELLPADDING=0 CELLSPACING=2>
- <TR ALIGN=center VALIGN=center>
- <NOBR>
- $[dwGetParam a_href_map inso_home_page]
- $[dwGetParam graphic_image_srcmap spacer]
- $[dwGetParam graphic_image_srcmap spacer]
- <A HREF="@Generic__RootView$[dwCall RemoveHfUrlParam]$[dwGet UrlParamString];hf=0$[dwGet UrlQueryString]"\
- TARGET=_top>$[dwGetParam button_image_srcmap hide_frames]</A>
- </NOBR>
- </TABLE>
- </TABLE>
- </BODY>
- </HTML>
- }
-
- dwScript NoFrames__RootShowFramesButton {
- if {[dwQueryCapability "frames" $capabilities] == 1} {
- dwSend [dwGetParam graphic_image_srcmap spacer]
- dwSend [dwGetParam graphic_image_srcmap spacer]
- dwSend [dwGetParam graphic_image_srcmap spacer]
- dwSend [dwGetParam graphic_image_srcmap spacer]
- dwSend <A\ HREF=\"@Generic__RootView[dwCall RemoveHfUrlParam][dwGet UrlQueryString]\"\
- TARGET=_top>[dwGetParam button_image_srcmap show_frames]</A>
- }
- }
-
- dwTemplate NoFrames__RootButtonBarView {
- <HR SIZE=4>
- $[dwGetParam a_href_map inso_home_page]
- $[dwCall NoFrames__RootShowFramesButton]
- <HR SIZE=4>
- }
-
-